import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/screenutil.dart';

extension Gap on num {
  get vGap => Container(height: this.toDouble());

  get hGap => Container(width: this.toDouble());

  Widget gapV(Color color) {
    return Container(
      height: this.toDouble(),
      color: color,
    );
  }

  Widget gapH(Color color) {
    return Container(
      width: this.toDouble(),
      color: color,
    );
  }
}
